<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Module ra_dbg</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>

<h1>Module ra_dbg</h1>
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>utilities to debug ra.


<h2><a name="description">Description</a></h2>utilities to debug ra
<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#replay_log-3">replay_log/3</a></td><td>Replays log file for a given state machine module with an initial state.</td></tr>
<tr><td valign="top"><a href="#replay_log-4">replay_log/4</a></td><td>Replays log file for a given state machine module with an initial state.</td></tr>
<tr><td valign="top"><a href="#filter_duplicate_entries-1">filter_duplicate_entries/1</a></td><td></td></tr>
</table>

<h2><a name="functions">Function Details</a></h2>

<h3 class="function"><a name="replay_log-3">replay_log/3</a></h3>
<div class="spec">
<p><pre>replay_log(WalFile :: string(),
           Module :: module(),
           InitialState :: term()) -&gt;
              term()</pre></p>
<p> </p>
<p>returns: The state once the log has been replayed.</p>
</div><p>Replays log file for a given state machine module with an initial state.
 </p>

<h3 class="function"><a name="replay_log-4">replay_log/4</a></h3>
<div class="spec">
<p><pre>replay_log(WalFile :: string(),
           Module :: module(),
           InitialState :: term(),
           Fun) -&gt;
              term()</pre>
<ul class="definitions"><li><pre>Fun = fun((State :: term(), Effects :: term()) -&gt; term())</pre></li></ul></p>
<p> </p>
<p>returns: The state once the log has been replayed.</p>
</div><p>Replays log file for a given state machine module with an initial state.
 </p>

<h3 class="function"><a name="filter_duplicate_entries-1">filter_duplicate_entries/1</a></h3>
<div class="spec">
<p><tt>filter_duplicate_entries(WalInReverseOrder) -&gt; any()</tt></p>
<p> </p>
</div>
<hr>

<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc</i></p>
</body>
</html>
